package com.mmall.controller.portal;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by qezhhnjy on 2017/9/26-9:54.
 */
@Controller
@RequestMapping("/")
public class TurnController {

    @RequestMapping("register.do")
    public void register() {
    }

    @RequestMapping("update_info.do")
    public void update_info() {
    }

    @RequestMapping("file.do")
    public void file() {
    }

    @RequestMapping("view.do")
    public void view() {
    }

    @RequestMapping("manager.do")
    public void manager() {
    }

    @RequestMapping("product.do")
    public void product(Integer id, Model model) {
        if (id != null)
            model.addAttribute("id", id);
    }

    @RequestMapping("shipping.do")
    public void shipping() {
    }

    @RequestMapping("shipping_modify.do")
    public void shippingModify() {
    }

    @RequestMapping("pay.do")
    public void pay() {
    }
}
